package top.javarem.medical.service;


import com.baomidou.mybatisplus.extension.service.IService;
import top.javarem.medical.domain.dto.*;
import top.javarem.medical.domain.po.User;

import java.util.List;

/**
* @description 针对表【user(用户表)】的数据库操作Service
*/
public interface UserService extends IService<User> {


    LoginResponseDTO login(LoginDTO loginDTO);

    Boolean register(RegisterDTO registerDTO);


    List<UserDTO> queryAllUser();

    Boolean updateUser(UserDTO userDTO);

    UserDetailDTO queryUserDetail(UpdateUserInfoDTO updateUserInfoDTO);

    Boolean updateUserInfo(UpdateUserDTO updateUserInfoDTO);
}
